package com.joysuch.wwyt.bp.bean;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel("web作业证审核")
public class BpWorkSafetyWebAuditBean implements Serializable {

    @ApiModelProperty("作业证id")
    @NotNull(field = "作业证id",message = "作业证id不能为空")
    private Long certId;

    @ApiModelProperty("审核意见")
    @NotNull(field = "审核意见",message = "审核意见不能为空")
    private String auditorMessage;

    @ApiModelProperty("是否同意:0同意;1不同意")
    @NotNull(field = "是否同意",message = "是否同意不能为空")
    private Integer yesOrNo;

    //危害辨识
    @ApiModelProperty(value = "危害辨识")
    private BpWorkSafetyIdentifyBean identifyBean;
    //措施确认
    @ApiModelProperty(value = "措施确认")
    private List<BpWorkSafetySigenerBean> methodBeans;
}
